package jnpf.model.ragFlow.chunk;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "文档信息")
public class DocumentInfo {
    @ApiModelProperty(value = "分块数量", required = true)
    private Integer chunk_count;

    @ApiModelProperty(value = "分块方法", required = true)
    private String chunk_method;

    @ApiModelProperty(value = "创建日期", required = true)
    private String create_date;

    @ApiModelProperty(value = "创建时间戳", required = true)
    private Long create_time;

    @ApiModelProperty(value = "创建者ID", required = true)
    private String created_by;

    @ApiModelProperty(value = "数据集ID", required = true)
    private String dataset_id;

    @ApiModelProperty(value = "文档ID", required = true)
    private String id;

    @ApiModelProperty(value = "文档位置")
    private String location;

    @ApiModelProperty(value = "文档名称", required = true)
    private String name;

    @ApiModelProperty(value = "解析器配置", required = true)
    private ParserConfig parser_config;

    @ApiModelProperty(value = "处理开始时间")
    private String process_begin_at;

    @ApiModelProperty(value = "处理时长")
    private Double process_duation;

    @ApiModelProperty(value = "处理进度")
    private Double progress;

    @ApiModelProperty(value = "进度消息")
    private String progress_msg;

    @ApiModelProperty(value = "运行状态")
    private String run;

    @ApiModelProperty(value = "文件大小")
    private Integer size;

    @ApiModelProperty(value = "来源类型")
    private String source_type;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "缩略图")
    private String thumbnail;

    @ApiModelProperty(value = "token数量")
    private Integer token_count;

    @ApiModelProperty(value = "文档类型", required = true)
    private String type;

    @ApiModelProperty(value = "更新日期")
    private String update_date;

    @ApiModelProperty(value = "更新时间戳")
    private Long update_time;
}
